package com.ty.bigevent.service;

import com.ty.bigevent.model.dto.CategoryUpdateRequest;
import com.ty.bigevent.model.entry.Category;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ty.bigevent.model.vo.CategoryVO;

import java.util.List;

/**
* @author ong char
* @description 针对表【category】的数据库操作Service
* @createDate 2025-09-27 01:05:27
*/
public interface CategoryService extends IService<Category> {

    void addCategory(String categoryName, String categoryAlias);

    List<CategoryVO> listCategory();

    CategoryVO getCategoryById(Integer id);

    void updateCategory(CategoryUpdateRequest params);

    void deleteCategoryById(Integer id);
}
